1bashThis demonstrates how to copy directories and their contents recursively using the cp command.cp --recursive foo barexternal toolscpdirectory copy
2bashThis script demonstrates how to copy a file and recursively copy the contents of a directory using the cp command.cp srcFile.txt clone.txt cp -r srcDirectory/ dst/ # recursively copyexternal toolscp
3bashThis demonstrates using wildcard characters and command-line options with the cp command.wildcard="*.txt" options="iv" cp -$options $wildcard /tmpexternal toolscpwildcard usage
4bashThis script copies all .csv files from the current directory to the data/ directory.cp *.csv data/external toolscp